package com.buer.storage.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("buer_supplier")
public class Supplier {
    @TableId(type = IdType.AUTO)
    private Integer supplierId;
    private String supplierCode;
    private String supplierName;
    private String supplierTel;
    private String contactPerson;
    private String contactAddress;
    private String supplierRemark;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date supplierCreateDate;

}
